<!--{loop $comments $value}-->
<li class="list-group-item diary-comment-item" data-lastid="{$id}">
	<div class="media">
		<div class="media-left">
			<a href="admin.php?ac=admin&do=accountOperation&uid={$value['user']['uid']}" target="_blank">
				<img class="media-object img-circle user-avatar" data-src="holder.js/64x64" alt="64x64" src="{$value['user']['avatar']}" onerror="this.src='./static_v2/img/default.png'" data-holder-rendered="true" style="width: 64px; height: 64px;"></a>
		</div>
		<div class="media-body">
			<div class="media-heading">
				<span class="comment-user-nickname"> <strong>{$value['user']['nickname']}</strong>
				</span>
				<span class="comment-position">
					<span class="badge">{$value['position']} 楼</span>
                    <a class="deleteComment" href="javascript:;" data-tid="{$value['tid']}" data-author_uid="{$value['author_uid']}" data-uid="{$value['uid']}" data-position="$value['position']">X
                    </a>
				</span>
			</div>
			<div class="media-object diary-attr">
				<span>
					<!--{date('Y-m-d H:i',$value['time'])}-->
				</span>
			</div>
			<div class="media-object diary-abbreviation">
				<span><!--{eval echo biaoqing_replace($value['content'])}--></span>
			</div>
			<!--{if $value['attachments']}-->
			<div class="media-object diary-images">
				<div class="row">
					<!--{loop $value['attachments'] $val}-->
					<a href="http://img.fenfenriji.com{$val['attachmentPath']}" data-toggle="lightbox" data-gallery="navigateTo" data-title="" data-footer="xxtstudio@163.com" class="col-sm-2">
						<img src="http://img.fenfenriji.com{$val['attachmentPath']}" class="img-responsive"></a>
					<!--{/loop}-->
				</div>
			</div>
			<!--{/if}-->
			<!--楼中楼评论-->
			<!--{loop $value['childComment']['commentList'] $v}-->
			<div class="media">
				<div class="media-body">
					<div class="media-object diary-attr">
						<span>
							<!--{date('Y-m-d H:i',$v['created_at'])}-->
						</span>
					</div>
					<div class="media-object diary-abbreviation">
						<span class="comment-user-nickname">
							<a href="admin.php?ac=admin&do=accountOperation&uid={$v['user']['uid']}"
							   target="_blank"><strong>{$v['user']['nickname']}</strong></a></span>回复：
						<span><!--{eval echo biaoqing_replace($v['content'])}--></span>
						<a class="deletechildComment" href="javascript:;" data-tid="{$value['tid']}" data-author_uid="{$value['author_uid']}" data-uid="{$value['uid']}" data-position="$v['position']" data-positionid="$v['positionId']">X</a>
					</div>
				</div>
			</div>
			<!--{/loop}-->
		</div>
	</div>
</li>
<!--{/loop}-->